package com.aek.ebey.sys.security.model;

import java.util.Date;
import java.util.List;

/**
 * 
 * <一句话功能简述>设备缓存实体
 * <功能详细描述>
 * 
 * @author  Shuangwf
 * @version  1.0, 2017年5月16日
 */
public class DeviceRedis
{
    private String token;
    
    private Integer tenantId;/*当前租户*/
    
    private Integer inTenantId;/*所属租户*/
    
    private List<SysTenant> sysTenants; /*可用租户列表*/
    
    private String deviceType;
    
    public List<SysTenant> getSysTenants()
    {
        return sysTenants;
    }
    
    public void setSysTenants(List<SysTenant> sysTenants)
    {
        this.sysTenants = sysTenants;
    }
    
    private Date loginTime;
    
    public String getToken()
    {
        return token;
    }
    
    public void setToken(String token)
    {
        this.token = token;
    }
    
    public String getDeviceType()
    {
        return deviceType;
    }
    
    public void setDeviceType(String deviceType)
    {
        this.deviceType = deviceType;
    }
    
    public Date getLoginTime()
    {
        return loginTime;
    }
    
    public void setLoginTime(Date loginTime)
    {
        this.loginTime = loginTime;
    }
    
    public Integer getTenantId()
    {
        return tenantId;
    }
    
    public void setTenantId(Integer tenantId)
    {
        this.tenantId = tenantId;
    }
    
    public Integer getInTenantId()
    {
        return inTenantId;
    }
    
    public void setInTenantId(Integer inTenantId)
    {
        this.inTenantId = inTenantId;
    }
    
}
